/**
 *
 */
package com.zhuoyue.elmt.entity;

import org.hibernate.validator.constraints.Length;

import com.eit.eitsite.common.persistence.DataEntity;

import java.util.List;

/**
 * 维保小组Entity
 * @author JiangYH
 * @version 2017-02-09
 */
public class WbMtGroup extends DataEntity<WbMtGroup> {
	
	private static final long serialVersionUID = 1L;
	private String name;		// 小组名称
	private String remark;		// 备注
	private String maintenUnitCode;		// 维保单位代码
	private List staffList;
	
	public WbMtGroup() {
		super();
	}

	public WbMtGroup(String id){
		super(id);
	}

	@Length(min=0, max=200, message="小组名称长度必须介于 0 和 200 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Length(min=0, max=100, message="备注长度必须介于 0 和 100 之间")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	@Length(min=0, max=100, message="维保单位代码长度必须介于 0 和 100 之间")
	public String getMaintenUnitCode() {
		return maintenUnitCode;
	}

	public void setMaintenUnitCode(String maintenUnitCode) {
		this.maintenUnitCode = maintenUnitCode;
	}

	public List getStaffList() {
		return staffList;
	}

	public void setStaffList(List staffList) {
		this.staffList = staffList;
	}
}